package com.gsp.boot.bean;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value = "classpath:test.properties")
@ConfigurationProperties(prefix = "gsp")
public class ConfigOneBean {
    @Getter@Setter
    private String name;
    @Getter@Setter
    private int age;
    @Getter@Setter
    private int number;
    @Getter@Setter
    private String uuid;
    @Getter@Setter
    private int max;
    @Getter@Setter
    private String value;
    @Getter@Setter
    private String greeting;
}
